package com.tom.zx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 装修方案
 * </p>
 *
 * @author lp
 * @since 2022-04-09
 */
@Getter
@Setter
@TableName("decoration_scheme")
@ApiModel(value = "DecorationScheme对象", description = "装修方案")
public class DecorationScheme implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("方案名称")
    @TableField("scheme_name")
    private String schemeName;

    @ApiModelProperty("效果")
    @TableField("renderings")
    private String renderings;

    @ApiModelProperty("平米单价")
    @TableField("unitPrice")
    private BigDecimal unitPrice;


    @ApiModelProperty("设计师id")
    @TableField("user_id")
    private Long userId;

}
